package com.lucky.contract.service.iml;

import com.lucky.contract.dao.SysUserMapper;
import com.lucky.contract.entity.SysUser;
import com.lucky.contract.service.SysUserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;

@Service
@Transactional
public class SysUserServiceImpl implements SysUserService {

    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser login(SysUser user) {
        return sysUserMapper.login(user);
    }
}
